using System;
using System.Collections.Generic;
using System.Text;

namespace tKitchen
{
    public class Step
    {
        int stepId;
        string descr;

        #region Properties

        public int StepId
        {
            get { return stepId; }
            set { stepId = value; }
        }


        public string Descr
        {
            get { return descr; }
            set { descr = value; }
        }
        #endregion

        public Step()
        {
            stepId = -1;
        }
        public Step(StepPO poIn)
        {
            stepId = poIn.StepId;
            descr = poIn.Descr;
        }

        public Step(int idIn, string descIn)
        {
            stepId = idIn;
            descr = descIn;
        }




        internal Step Copy()
        {
            Step temp = new Step();
            temp.Descr = this.Descr;
            temp.StepId = this.StepId;

            return temp;
        }
    }
}
